package com.eastcom.groovy.process

import com.eastcom.groovy.task.TaskManager
import com.eastcom.groovy.tools.db.DbEngine;

import org.apache.commons.logging.Log
import org.apache.commons.logging.LogFactory
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
import org.springframework.stereotype.Component

import javax.annotation.Resource

/**
 * Created by yuanyue on 2014-08-03.
 */
@Component("taskDestroyProcess")
class TaskDestroyProcess {
    private static Log logger = LogFactory.getLog(TaskDestroyProcess.class)
    @Resource(name = "threadPool")
    private ThreadPoolTaskExecutor threadPoolTaskExecutor;
    @Resource(name = "dbEngine")
    private DbEngine dbEngine;
    /**
     *
     */
    public void stop(final List<String> taskConfigPath){
        threadPoolTaskExecutor.execute(new Runnable() {
            @Override
            public void run() {
            }
        });
    }
}

